* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Montserrat, sans-serif !important;
    scroll-behavior: smooth;
    counter-reset: serial;
    padding-top: 0;
}

:root {
    --violet: #2d0053;
    --red: #e13527;
    /* --yellow: #fea11f; */
    --yellow: #BE8300;
    --black: #000000;
    --white: #ffff;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
    font-size: 16px !important;
}

/* .short_header{
    display: flex;
    align-items: center;
    justify-content: end;
    gap:10px;
    background-color: var(--violet);
} */
.top_head_sm {
    text-align: end;
    margin-top: 10px;
}

.top_head_sm a {
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    transition: 0.5s all;
}

.short_header a:hover {
    color: var(--red);
}

.top_header_sec {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-top: 10px;
}

/* .top-header-logo img {
    width:350px !important;
} */
.first_logo {
    width: 350px;
}

.second_logo {
    width: 200px !important;
}

.third_logo {
    width: 250px !important;
}

.top-header-logo a:last-child {
    width: 220px;
}

.top-header-logo {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top_header_sec .admission {
    background: var(--red);
    border-radius: 20px;
    padding: 5px 20px;
    color: var(--white);
    font-size: 18px;
    border: solid 1px var(--red);
    transition: 0.5s all;
}

.top_header_sec .admission:hover {
    color: var(--red);
    border: solid 1px var(--red);
    background-color: transparent;
}

.admission_head {
    text-align: end;
}

/* navbar section */
.navbar {
    background-color: var(--white);
    border-bottom: 3px solid var(--yellow);
    /* padding: 0; */
    padding-bottom: 0;
    position: relative;
}

.navbar-expand-lg .navbar-collapse {
    flex-direction: column;
}

.navbar-nav {
    left: 0;
    background-color: var(--violet);
    right: 0;
    bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.navbar-nav .nav-link {
    padding: 7px 0px;
    color: var(--white);
    font-size: 16px;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
    background-color: var(--violet);
    color: var(--white);
    border-radius: 0;
}

.dropdown-item {
    color: var(--white);
    font-size: 14px;
    border-bottom: 1px solid #9e9e9e80;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.head-btn {
    display: none;
}

.nav_item {
    position: relative;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.links_title a {
    text-decoration: none !important;
}

.links_title {
    width: 50%;
}

.links_title2 {
    width: auto;
    padding-right: 40px;
    padding-top: 20px;
}

.dropdown-menu {
    border-top: 4px solid red !important;
    background-color: #313F90;
    border: none;
    color: white;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 12px 20px;
}

.dropdown-menu .row {
    padding: 1rem;
}



.dropdown-menu h6 {
    font-size: 20px;
    color: #f8c007fd;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
    /* width: inherit; */
}

.linkstitle1 {
    width: 100%;
}

.dropdown-menu h4 {
    font-size: 16px !important;
}

.dropdown-menu a {
    color: white;
    display: block;
    padding: 0.25rem 0;
    text-decoration: none;
}

.dropdown-menu a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.dropdown-menu-wrapper {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    z-index: 1000;
}


.navbar-expand-lg .navbar-nav .dropdown-menu {

    border-radius: 0;
    padding: 60px 60px;
    /*width: 1200px;*/
    width: 1000px;
    align-items: center;

}


.dropdown_menu1 {
    width: 500px !important;
}

.dropdown_menu2 {
    width: 1000px !important;
}

.dropdown_menu3 {
    width: 500px !important;
}

.dropdown-menu-wrapper .dropdown_menu4 {
    left: 50%;
    top: 100%;
    transform: translateX(-600px);
}

.dropdown-menu-wrapper .dropdown_menu5 {
    left: 50%;
    top: 100%;
    width: 400px !important;
    transform: translateX(-50px);
}

.first_logo {
    width: 350px;
}

.second_logo {
    width: 160px !important;
}

.third_logo {
    width: 250px !important;
}

.top_header_sec {
    max-width: 1550px;
}

.top-header-logo a:last-child {
    width: 270px;
}

.links_title2 {
    padding-top: 20px !important;
}






/* responsive section */

@media(max-width:1600px) {
    .top-header-logo {
        gap: 10px;
    }

    .top-header-logo img {
        width: 270px;
    }

    .top-header-logo a:last-child {
        width: 190px;
    }

    .top_header_sec {
        margin-top: 10px;
    }
}

@media(max-width:1536px) {
    .top-header-logo a:last-child {
        width: 185px;
    }

    .top-header-logo img {
        width: 360px;
    }
}

@media(max-width:1280px) {
    .top-header-logo img {
        width: 250px;
    }

    .top-header-logo a:last-child {
        width: 170px;
    }
}

@media(max-width:1024px) {
    .navbar-nav .nav-link {
        font-size: 15px;
    }

    .navbar-nav {
        gap: 5px;
    }
}

@media(max-width:991px) {
    .navbar-toggler {
        position: absolute;
        top: -53px;
        right: 10px;
        z-index: 1;
    }

    .admission_head {
        display: none;
    }

    .navbar-toggler-icon {
        filter: invert(1);
    }

    .navbar-nav {
        position: initial;
        clip-path: none;
        padding: 0;
        gap: 5px;
        white-space: nowrap;
    }

    .offcanvas-collapse {
        width: 40%;
        background-color: var(--violet);
        padding: 0;
        height: fit-content;
        top: 11px;
        padding: 15px 0;
        position: absolute;
    }

    .navbar-nav {
        padding-left: 23px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
    }

    .head-btn {
        display: block;
    }

    .header {
        margin: 0 25px;
        margin-bottom: 20px;
        color: var(--white);
    }

    .header .line {
        width: 100%;
        margin-bottom: 20px;
        height: 1px;
        background-color: var(--white);
    }

    .mobile_phone {
        margin: 10px 0;
    }

    .header div:nth-child(2) {
        margin: 0;
    }

    .header a {
        color: var(--white);
    }

    .mobile_admission {
        margin-top: 20px;
    }

    .mobile_admission .admission {
        background-color: var(--red);
        color: var(--white);
        padding: 5px 15px;
        border-radius: 5px;
        border: solid 2px var(--red);
        transition: 0.5s all;
    }

    .mobile_admission .admission:hover {
        color: var(--red);
        background-color: transparent;
    }

    .header span {
        display: none;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: contents;
    }

    .dropdown-menu .row {
        padding: 1rem;
        width: 300px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        white-space: normal;
        row-gap: 20px;
    }

    .links_title {
        width: 100%;
    }
}

@media(max-width:768px) {
    .offcanvas-collapse {
        width: 50%;
    }
}

@media(max-width:767px) {
    .first_logo {
        width: 220px;
    }

    .second_logo {
        width: 120px !important;
    }

    .third_logo {
        width: 200px !important;
    }
}

@media(max-width:757px) {
    .navbar-toggler {
        top: -42px;
    }

    .top-header-logo a:last-child {
        width: 123px;
    }

    .top-header-logo img {
        width: 220px;
    }
}

@media(max-width:600px) {
    .top-header-logo img {
        width: 270px;
    }

    .top-header-logo a:last-child {
        width: 130px;
    }

    .top_header_sec {
        align-items: center;
    }

    .navbar-toggler {
        top: -43px;
        right: 38px;
    }

    .offcanvas-collapse {
        width: 60%;
    }

    .second_logo {
        display: none;
    }

    .third_logo {
        display: none;
    }
}

@media(max-width:575px) {
    .navbar-toggler {
        right: 8px;
        top: -46px;
    }
}

@media(max-width:540px) {
    .offcanvas-collapse {
        width: 100%;
    }
}

@media(max-width:492px) {
    .top-header-logo img {
        width: 350px;
    }
}

@media(max-width:432px) {
    .top-header-logo img {
        width: 640px;
    }

    .navbar-toggler {
        top: -41px;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
    }

    .navbar-nav {
        gap: 0;
    }
}

@media(max-width:400px) {
    .top-header-logo a:last-child {
        width: 110px;
    }

    .navbar-toggler {
        top: -39px;
    }

    .top-header-logo img {
        width: 640px;
    }
}

@media(max-width:360px) {
    .top-header-logo img {
        width: 670px;
    }

    .top-header-logo a:last-child {
        width: 100px;
    }

    .navbar-toggler-icon {
        width: 27px;
    }

    .navbar-toggler {
        top: -36px;
    }
}

@media(max-width:320px) {
    .top-header-logo img {
        width: 900px;
    }

    .top-header-logo a:last-child {
        width: 90px;
    }
}